package com.xxgc.eow.service;

import com.xxgc.eow.entity.CollectCommentSecondary;
import com.xxgc.eow.entity.Collectcomment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxgc.eow.entity.Likecomment;

import java.util.List;

/**
 * <p>
 * 收藏评论表 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-24
 */
public interface ICollectcommentService extends IService<Collectcomment> {

    List<Collectcomment> getAllCollectCommentsByUserId(Integer userId);

    List<CollectCommentSecondary> selectAll(int PageNum,int PageSize);

    int insertLikeComment(CollectCommentSecondary collectCommentSecondary);

    Integer getCommentLikeById(int commentId);

    int updateCommentLike(int commentId,int collectNum);

    int delCommentLike(CollectCommentSecondary collectCommentSecondary);

    CollectCommentSecondary selectDataTf(CollectCommentSecondary collectCommentSecondary);
}
